define(()=>{
    return function(like,data){
        console.log(78888)
        let str='';
        for (let i=0;i<13;i++){
            let  rand = Math.round(Math.random()*data.length+0)
            str+=` <dl>
            <dt><a href=""><img src="${data[rand].img}"></a></dt>
            <dd>
                <a href="#">${data[rand].proName}</a>
            </dd>
            <dd>
                <span>&yen;<i>${data[rand].price}</i></span>
                   <del>&yen;<i>${data[rand].price/0.8}</i> </del>
            </dd>
        </dl>`
        }
        like.html(str)
    }
})